Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Declare minimum Rust version #64

Closed
wants to merge 3 commits into from
Closed

Conversation

aborgna-q
Copy link
Contributor

Adds the MSRV to Cargo.toml, so it gets listed on crates.io (and it can be read by the Rust-version aware resolver).

6422a96 updated the crate to edition 2024, so it only compiles with rust>=1.85.

The badge on the README will render the correct version once the next release is published.

@musicinmybrain
Copy link
Contributor

musicinmybrain commented Mar 18, 2025

Alternatively, you might choose to reconsider using edition 2024 so quickly, because you might not have intended to impose MSRV 1.85 on everything that uses this crate directly or indirectly (and doesn’t yet use the Rust-version-aware resolver).

Explicitly declaring an MSRV is a good idea, either way.

@garro95
Copy link
Owner

garro95 commented Mar 22, 2025

I wanted to go the path suggested by @musicinmybrain. In #65 I undid some of the latest changes and I got priority-queue compatible with Rust 1.65.0.

I would appreciate your review of the changes. If everything is fine, I'll merge that in and release a new version.

@aborgna-q
Copy link
Contributor Author

Closing in favour of #65

@aborgna-q aborgna-q closed this Mar 24, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants